package com.ruoyi.project.jiaqin.quoted.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 采购报价对象 quoted_price
 *
 * @author admin
 * @date 2020-12-25
 */
public class QuotedPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 包含运费 */
    private String includingFreight;
    /** 不含运费 */
    private String excludingFreight;
    /** 备注信息 */
    private String remarks;

    public String getIncludingFreight() {
        return includingFreight;
    }
    public void setIncludingFreight(String includingFreight) {
        this.includingFreight = includingFreight;
    }

    public String getExcludingFreight() {
        return excludingFreight;
    }
    public void setExcludingFreight(String excludingFreight) {
        this.excludingFreight = excludingFreight;
    }

    public String getRemarks() {
        return remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /** id */
    private String id;

    /** 采购ID */
    @Excel(name = "采购ID")
    private String wantToBuyId;

    /** 报价用户ID */
    @Excel(name = "报价用户ID")
    private String quotedMemberId;

    /** 报价价格 */
    @Excel(name = "报价价格")
    private Double quotedPrice;

    /** 报价时间 */
    @Excel(name = "报价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date quotedTime;

    /** 货源地 */
    @Excel(name = "货源地")
    private String addr;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNum;

    private String userName;

    private String userIcon;

    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /** 是否是企业：0-否 1-是 */
    private Integer isCompany;
    /** 企业或个人ID */
    private String memberCompanyId;

    public Integer getIsCompany() {
        return isCompany;
    }

    public void setIsCompany(Integer isCompany) {
        this.isCompany = isCompany;
    }

    public String getMemberCompanyId() {
        return memberCompanyId;
    }

    public void setMemberCompanyId(String memberCompanyId) {
        this.memberCompanyId = memberCompanyId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserIcon() {
        return userIcon;
    }

    public void setUserIcon(String userIcon) {
        this.userIcon = userIcon;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setWantToBuyId(String wantToBuyId)
    {
        this.wantToBuyId = wantToBuyId;
    }

    public String getWantToBuyId()
    {
        return wantToBuyId;
    }
    public void setQuotedMemberId(String quotedMemberId)
    {
        this.quotedMemberId = quotedMemberId;
    }

    public String getQuotedMemberId()
    {
        return quotedMemberId;
    }
    public void setQuotedPrice(Double quotedPrice)
    {
        this.quotedPrice = quotedPrice;
    }

    public Double getQuotedPrice()
    {
        return quotedPrice;
    }
    public void setQuotedTime(Date quotedTime)
    {
        this.quotedTime = quotedTime;
    }

    public Date getQuotedTime()
    {
        return quotedTime;
    }
    public void setAddr(String addr)
    {
        this.addr = addr;
    }

    public String getAddr()
    {
        return addr;
    }
    public void setPhoneNum(String phoneNum)
    {
        this.phoneNum = phoneNum;
    }

    public String getPhoneNum()
    {
        return phoneNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wantToBuyId", getWantToBuyId())
            .append("quotedMemberId", getQuotedMemberId())
            .append("quotedPrice", getQuotedPrice())
            .append("quotedTime", getQuotedTime())
            .append("addr", getAddr())
            .append("phoneNum", getPhoneNum())
            .append("includingFreight", getIncludingFreight())
            .append("excludingFreight", getExcludingFreight())
            .append("remarks", getRemarks())
            .toString();
    }
}
